#coding:utf-8
from CollectSpider.globalvar.globalvar import time_list
from CollectSpider.kancloud.FileUtil import is_None
from math import floor, ceil

a=[1,2,3]
b=[1,2]
print set(b).issubset(set(a))

for i in []:
    print i
    
print "1,2".split(",")

print "6".split(",")

for k,val in {"id":"123","name":"先"}.items():
    print k
    print val
    
print int(ceil(3/float(2.0)))

True=1
False=2
print True==False
print 6==True
print len([])==0
print len({"d":2,"d":3})

print is_None([1]) is None
print is_None({})

dd={1:{"xiong":"a"},2:{"xiong":"b"}}
del dd[1]
print dd


vals=[]
for val in [{1:234},{2:345},{2:234}]:
    vals.append(val.keys()[0])

print vals

print [{1:234},{2:345},{2:234}].index(dict({1:234}))


